html,
body,
#app {
  height: 100%;
  min-width: 1024px;
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

p {
  padding: 0;
  margin: 0;
}

textarea {
  font-family: inherit;
}

/* ====== 全局样式 ====== */
/* 水平垂直居中 */
.gl-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
/* 横向 flex，垂直居中 */
.gl-flex-row {
  display: flex;
  align-items: center;
}

/* 竖向 flex */
.gl-flex-column {
  display: flex;
  flex-direction: column;
}

/* 横向 flex，元素两边对齐 */
.gl-flex-space-between {
  display: flex;
  justify-content: space-between;
}

/* 主页面根div */
.gl-view-rootbox {
  height: 100%;
  background-color: #fff;
  box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%);
  padding: 20px;
  overflow: hidden;
}

/* 单个卡片式 div */
.gl-cell-card-box {
  background-color: #fff;
  border-radius: 5px;
  padding: 10px;
  box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%);
}

/* 居中 14px 标题  */
.gl-normal-title {
  text-align: center;
  font-weight: bold;
}

/* 图标按钮 */
.gl-icon-btn:hover {
  color: #ccc;
}

/* 鼠标移上 danger 背景色 */
.gl-danger-item:hover {
  background-color: rgb(254, 240, 240) !important;
  color: #f56c6c !important;
}

/* 按钮行 */
.gl-tool-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

/* 副标题 */
.gl-sub-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 16px;
}

/* 抽屉 */
.gl-drawer-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  border-top: 1px solid #e8e8e8;
}

.gl-drawer-body .gl-drawer-main {
  padding: 20px;
}
.gl-drawer-body .gl-drawer-footer-btn {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  border-top: 1px solid #e8e8e8;
  padding: 8px 16px;
}

/* ====== 修改组件样式 ====== */

/* 按钮 */
.el-button {
  padding-left: 10px !important;
  padding-right: 10px !important;
}

.el-button--text {
  padding-left: 0px !important;
  padding-right: 0px !important;
}

.el-button--small {
  padding: 8px 10px !important;
  font-size: 14px !important;
}

/* 面包屑导航 */
.el-breadcrumb__inner.is-link {
  font-weight: normal;
  cursor: pointer !important;
}

/* 对话框 */
.el-dialog__header {
  padding: 20px 20px 0 20px;
}

.el-dialog__body {
  padding: 16px 20px !important;
}

.el-dialog__footer {
  padding: 0 20px 20px 20px;
}

/* 表格 */
.el-table th {
  background-color: #f5f7fa;
}

/* 选择 */
.el-select {
  width: 100%;
}

/* 面包屑导航item */
.el-breadcrumb__item {
  display: flex;
}

/* 抽屉 */
.el-drawer__header {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px !important;
}

/* 警告 */
.el-alert {
  height: 32px;
}
